<%@ page language="java" %>     
<%@ page import="java.util.*,org.apache.log4j.Category" %>
<%@ page import="com.oval.util.*" %>
<%@ page contentType = "text/html;charset=UTF-8" %>
<%@ taglib uri="/WEB-INF/PageFlow.tld" prefix="PageFlow" %>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>

<% 
   Category cat = Category.getInstance("jsp.Main.Left1");
%>
<%
   String strLanguageCode = (String)request.getParameter("languagecode");
   if (strLanguageCode == null)
   {
     strLanguageCode = (String)session.getAttribute("languagecode");
     if(strLanguageCode == null)
     {
       strLanguageCode = "cn";
       session.setAttribute("languagecode",strLanguageCode);
     }
   }
   else
   {
      session.setAttribute("languagecode",strLanguageCode);
      HashMap userinfo = (HashMap)session.getAttribute("userinfo");
      if(userinfo != null)
      {
         userinfo.put("languagecode",strLanguageCode);
         session.setAttribute("userinfo",userinfo);
      }
   }
   String strAppParam=(String)request.getParameter("app");
   Integer oApp=(Integer)session.getAttribute("app");
   if(strAppParam==null && oApp!=null)
    strAppParam=oApp.toString();
   if(strAppParam==null) 
    strAppParam="1";
   session.setAttribute("app",new Integer(strAppParam));
   
   OvalLabel label = new OvalLabel(strLanguageCode,"UPM");
   String Privilegecode = (String)request.getParameter("privilegecode"); 
   boolean isBuffer = false;
   if (Privilegecode == null)
     isBuffer = true;
   
   String strIsFavorite = (String)request.getParameter("isfavorite");
   boolean isFavorite = false;
   if (strIsFavorite != null)
     isFavorite = true;
%>
<%@ include file="/inc/SessionTimeout.inc" %>
<html>
<head>
<title>MainLeft1</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" href="css/<%= strLanguageCode %>/cssleft.css" type="text/css">
<link rel="stylesheet" href="css/<%= strLanguageCode %>/csscontent.css" type="text/css">
<script language="JavaScript" src="css/<%= strLanguageCode %>/script.js"></script>
<SCRIPT language=JavaScript src="js/showtree.js"></SCRIPT>
<script>
	function expandhide()
	{
		if(top.main.cols=="0,9,*")
		{
			document.getElementById('frameshow').src="images/<%= strLanguageCode %>/icon2a.jpg";
			//frameshow.alt="隐藏菜单栏";
			top.main.cols="197,9,*";
		}
		else
		{
			document.getElementById('frameshow').src="images/<%= strLanguageCode %>/icon2.jpg";
			//frameshow.alt="显示菜单栏";
			top.main.cols="0,9,*";
		}
	}
</script>
</head>
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<table width="100%" border="0" cellspacing="0" cellpadding="0" height="100%">
  <tr>
    
    <td background="images/<%= strLanguageCode %>/leftbg.jpg"><a href="javascript:expandhide()"><img name="frameshow" id="frameshow" src="images/<%= strLanguageCode %>/icon2a.jpg" width="8" height="55" border="0"></a></td>
  </tr>
</table>
</body>
</html>
